#include "Declspec.h"
#include "CsvFileLinker.h"

#ifdef __cplusplus
extern "C"
{
#endif
	CLinker* g_Linker = NULL;

	_DECLSPEC CLinker* LoadLinker()
	{
		if(g_Linker != NULL)
			return NULL;

		g_Linker = new CCsvFileLinker();
		return g_Linker;
	}

	_DECLSPEC void UnloadLinker()
	{
		if(g_Linker == 0)
			return;

		delete g_Linker;
	}
#ifdef __cplusplus
}
#endif